package com.mdlib.helper.ui.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.ljlib.help.R;
import com.mdlib.helper.model.entity.ServiceEntity;

import java.util.List;

/**
 * 作者：HQY on 16/11/19 09:49
 * 邮箱：hqy_xz@126.com
 */

public class ServiceAdapter extends BaseQuickAdapter<ServiceEntity> {


    public ServiceAdapter(List<ServiceEntity> data) {
        super(R.layout.item_service, data);
    }

    @Override
    protected void convert(BaseViewHolder baseViewHolder, ServiceEntity service) {

        baseViewHolder.setText(R.id.tv_service_title, service.getTitle());

    }
}
